<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Fling
  Date: 2020/3/11
  Time: 9:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>供应商管理</title>
</head>
<body>
供应商页面
<div style="width: 1200px;margin: 50px auto" id="providerDiv">
<c:if test="${user.roleId<=3}">
    <a href="${pageContext.request.contextPath}/jsp/provider/addprovider.jsp">增加供应商</a><br/>
    <a href="${pageContext.request.contextPath}/queryByIdUser">修改供应商</a><br/>
    <a href="${pageContext.request.contextPath}/jsp/provider/deleteprovider.jsp">删除供应商</a><br/>
</c:if>
    <form action="/queryProvider" method="post" id="fm">
        请需要查询的供应商名称：<input type="text" name="supplierName"/>
        请需要查询的供应商编码：<input type="text" name="supplierId"/>
        <table width="100%" border="all" id="tb">
            <tr style="background-color: #999">
                <th>信息1</th>
                <th>信息1</th>
                <th>信息1</th>
                <th>信息1</th>
                <th>信息1</th>
                <th>信息1</th>
                <th>信息1</th>
                <th>信息1</th>
            </tr>
            <c:forEach var="providerList" items="${providerList}">
                <tr style="background-color: #ebd">
                    <th>信息1</th>
                    <th>信息1</th>
                    <th>信息1</th>
                    <th>信息1</th>
                    <th>信息1</th>
                    <th>信息1</th>
                    <th>信息1</th>
                    <th>信息1</th>
                </tr>
            </c:forEach>
        </table>
    </form>
</div>
</body>
</html>
